package com.sinosoft.msf.base.supplier.pojo.tyc;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.List;

public class BenefitVo {

    @JSONField(name = "total")
    private Integer total;
    @JSONField(name = "items")
    private List<ItemsDTO> items;

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<ItemsDTO> getItems() {
        return items;
    }

    public void setItems(List<ItemsDTO> items) {
        this.items = items;
    }

    public static class ItemsDTO {
        @JSONField(name = "toco")
        private Integer toco;
        @JSONField(name = "name")
        private String name;
        @JSONField(name = "id")
        private String id;
        @JSONField(name = "type")
        private String type;
        @JSONField(name = "percent")
        private String percent;

        public Integer getToco() {
            return toco;
        }

        public void setToco(Integer toco) {
            this.toco = toco;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getType() {
            return type;
        }

        public void setType(String type) {
            this.type = type;
        }

        public String getPercent() {
            return percent;
        }

        public void setPercent(String percent) {
            this.percent = percent;
        }
    }
}
